//
//  ViewController.m
//  ButtonTest
//
//  Created by guosm on 2021/4/27.
//

#import "ViewController.h"
#import "UIButton+AddArea.h"
@interface ViewController ()
@property (strong,nonatomic) IBOutlet UIButton * btn;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.btn setAddEdgeInsets:UIEdgeInsetsMake(100, 100, 20, 30)];
    // Do any additional setup after loading the view.
}
- (IBAction)btnClick:(id)sender{
    NSLog(@"%@",sender);
    [self.btn setAddEdgeInsets:UIEdgeInsetsMake(0, 0, 20, 30)];
}
- (IBAction)btnClick1:(id)sender{
    NSLog(@"11%@11",sender);
//    [self.btn setAddEdgeInsets:UIEdgeInsetsMake(0, 0, 20, 30)];
}

@end
